package org.example.lost.service;

import org.example.domain.PageInfoDTO;
import org.example.lost.entity.FoundInfo;
import org.example.lost.entity.vo.HistoryInfoVO;
import org.example.lost.entity.vo.LostInfoVO;

/**
 * @Author hxy
 * @Date 2021/3/21 19:29
 * @Version 1.0
 */
public interface FoundService {
    int addFound(FoundInfo foundInfo);

    PageInfoDTO<FoundInfo> getList(LostInfoVO lostInfoVO);

    int deleteFound(String foundId);

    int updateFound(FoundInfo foundInfo);

    PageInfoDTO<FoundInfo> getOne(HistoryInfoVO historyInfoVO);

    String claim(String userId, String foundId);

    int updateCheckStatus(String foundId, String status);
}
